home *** CD-ROM | disk | FTP | other *** search
/ Scene Storm / Scene Storm - Volume 1.iso / coding / asm / demos / outcastmag / text / news.txt < prev   
Encoding:
Text File  |  1980-01-04  |  12.2 KB  |  278 lines

  1.                           TABLE OF CONTENTS
  2.                          -----------------
  3.  
  4. 1.  SUMMERY OF NEW features for AA
  5. 2.  EXPLANATION of NEW Features
  6. 3.  List of Registers orderd by address
  7. 4.  List of registers orderd alphabetically
  8. 5.  NEW LISA DISPLAY MODES
  9.  
  10. 1. SUMMERY OF NEW FEATURES FOR AA
  11. ---------------------------------
  12.  
  13. 32 bit wide data bus supports input of 32-bit wide bitplane data and allows
  14. doubling of memory bandwidth. Additional doubling of bandwidth can be
  15. achieved 
  16. by using FAST page mode Ram. The same bandwidth enhancements are availble
  17. for sprites. Also the maximum number of bitplanes useable in all modes was
  18. increased to eight (8).
  19.  
  20. The color Palette has been expanded to 256 colors deep and 25 bits wide (8
  21. RED,8 GREEN,8 BLUE,1 GENLOCK). This permits display of 256
  22. simultaneouscolors in all resolutions. A palette of 16,777,216 colors are
  23. available in all resolutions.
  24.  
  25. 28Mhz clock input allows for cleaner definition of HIRES and SHRES pixels 
  26. ALICE`S clock genarator is synchronized by means of LISA`s 14MHz and SCLK
  27. outputs, Genlock XCLK and XCLKEN pins have been eliminated (external MUX is
  28. now required).
  29.  
  30. A new register bit allows sprites to appear in the screen border regions
  31. (BRDRSPRT).
  32.  
  33. A bitplane mask field of 8 bits allows an address offset into the color
  34. palette.
  35. Two 4-bit mask fields do the same for odd and even sprites.
  36.  
  37. In Dual Playfield modes,2 4-bitplane playfields are now possible in all
  38. resolutions.
  39.  
  40. Two Extra high-order playfield scrollbits allow seamless scrolling of up to
  41. 64 bit wide bitplanes in all resolutions. Resolution of bitplane scroll,
  42. display window,and horizontal sprite position has been improved to 35ns in
  43. all resolutions.
  44.  
  45. A new 8bitplane HAM mode has been created, 6 for colors and 2 for control
  46. bits. All HAM modes are available in all resolutions (not just LORES as
  47. before).
  48.  
  49. A RST_input pin has been added, which resets all the bits contained in
  50. reg-isters that were new for
  51. ECSorLISA:BPLCON3,BPLCON4,CLXCON2,DIWHIGH,FMODE.
  52.  
  53. Sprite resolution can be set to LORES,HIRES,SHRES,independant of bitplane
  54. resolution.
  55.  
  56. Attached Sprites are now available in all resolutions.
  57.  
  58. Hardware Scan Doubling support has been added for bitplanes and sprites.
  59. This is intended to allow 15KHz screens to be intelligently displayed on a
  60. 31KHz monitor and share the display with 31KHz screens.
  61.  
  62. 2. EXPLANATION OF NEW FEATURES
  63. ------------------------------
  64.  
  65. Bitplanes
  66. ---------
  67. There are now 8 bitplanes instaed of 6. In single playfield modes they can
  68. address 256 colors instead of 64. As long as the memory architecture can
  69. support the bandwidth, all 8 bitplanes are available in all 3 resolutions
  70. In the same vein, 4+4 bitplane dualplayfield is available in all 3
  71. resolutions, unless
  72. bitplane scan-doubling is enabled, In which case both playfields share the
  73. same bitplane modulus register. Bits 15 thru 8 of  BPLCON14 comprise an 8
  74. bit mask for the 8 bitplane address, XOR`ing the individual bits.
  75. This allows the copper to exchange color maps with a single instruction.
  76. BPLCON1
  77. now contains an 8 bit scroll value for each of the playfields. Granularity
  78. of scroll now extends down to 35nSec.(1 SHRES pixel), and scroll can delay 
  79. playfield thru 32 bus cycles. Bits BPAGEM and BPL32 in new register FMODE
  80. control size of bitplane data in BPL1DAT thru BPL8DAT.
  81.  
  82. The old 6 bitplane HAM mode, unlike before, works in HIRES and SHRES
  83. resolutions.
  84. As before bitplanes 5 and 6 control it`s function as follows:
  85.  
  86. |BP6|BP5|   RED  |  GREEN | BLUE             |
  87. |--------------------------------------------|
  88. | 0 | 0 | select new base register (1 of 16) |
  89. |--------------------------------------------|
  90. | 0 | 1 |  hold  |  hold  | modify           |
  91. |--------------------------------------------|
  92. | 1 | 0 | modify |  hold  |  hold            |
  93. |--------------------------------------------|
  94. | 1 | 1 |  hold  | modify |  hold            |
  95. ----------------------------------------------
  96.  
  97. There is a new 8 bitplane HAM (Hold and Modify) mode. This mode is invoked
  98. when BPU field in BPLCON0 is set to 8 , and HAMEN is set. Bitplanes 1 and 2
  99. are used as control bits analagous to the function of bitplanes 5 and 6 in
  100. 6 bitplane HAM mode:
  101.  
  102. |BP2|BP1|   RED  |  GREEN | BLUE             |
  103. |--------------------------------------------|
  104. | 0 | 1 | select new base register (1 of 64) |
  105. |--------------------------------------------|
  106. | 0 | 1 |  hold  |  hold  | modify           |
  107. |--------------------------------------------|
  108. | 1 | 0 | modify |  hold  |  hold            |
  109. |--------------------------------------------|
  110. | 1 | 1 |  hold  | modify |  hold            |
  111. ----------------------------------------------
  112.  
  113. Since only 6 bitplanes are available for modify data, the data is placed in
  114. 6 MSB. The 2 LSB are left unmodified, which allows creation of all
  115. 16,777,216 colors simultaneously, assuming one had a large enough screen
  116. and picked one`s base registers judiciously. This HAM mode also works in
  117. HIRES and SHRES modes.
  118.  
  119. For compatibility reasons EHB mode remains intact. Its existence is rather
  120. moot in that we have more than enough colors in the color table to replace
  121. its functionality. As before, EHB is invoked whenever SHRES = HIRES =
  122. HAMEN= DPF = 0 and BPU = 6. Please note that starting with ECS DENISE
  123. there is a bit in BPLCON2 which disables this mode (KILLEHB).
  124.  
  125. Bits PF2OF2,1,0 in BPLCON3 determine second playfield`s offset into the
  126. color table. This is now necessary since playfields in DPF mode can have up
  127. to 4 bitplanes. Offset value are as defined in register map.
  128.  
  129. BSCAN2 bit in FMODE enables bitplane scan-doubling. When V0 bit of DIWSTRT
  130. matches V0 of vertical beam counter, BPL1MOD contains the modulus for the
  131. display line, else BPL2MODis used. When scan-doubled both odd and even 
  132. bitplanes use the same modulus on a given line, whereas in normal mode odd
  133. bitplanes used BPL1MOD and even bitplanes used BPL2MOD. As a result Dual
  134. Playfields screens will probably not display correctly when scan-doubled.
  135.  
  136. Sprites:
  137. --------
  138. Bits SPAGEM and SPR32 in FMODE whether size of sprite load datain
  139. SPR0DATA(B) thru SPR7DATA(B) is 16,32, or 64 bits, analagous to bitplanes.
  140. BPLCON3 contains several bits relating to sprite behavior. SPRES1 and
  141. SPRES0 control sprite resolution, whether they conform to theECS standard
  142. or override tp LORES,HIRES,or SHRES. BRDRSPRT, when high,allows sprites to
  143. be visible in border areas. ESPRM7 thru ESPRM4 allow relocation of the even
  144. sprite color map. OSPRM7 thru OSPRN4 allow relocation of the odd sprite
  145. color map. In the case of attached sprites OSPRM bits are used.
  146.  
  147. SSCAN2 bit in FMODE enables sprite scan-doubling. When enabled, individual
  148. SH10 bits in SPRxPOS registers control whether or not a given sprite is to
  149. be scan-doubled. When V0 bit of SPRxPOS register matches V0 bit of vertical
  150. beam counter, the given sprite`s DMA is allowed to proceed as before. If
  151. the don`t match, then sprite DMA is disabled and LISA reuses the sprite
  152.  data
  153. from the previous line. When sprites are scan-doubled, only the position
  154. and control registers need be modified by the programmer; the data
  155. registers need no modification.
  156.  
  157. NOTE: Sprite vertical start and stop positions must be of the same parity,
  158. i.e. both odd or even.
  159.  
  160. Compatibility:
  161. --------------
  162. RST_pin resets all bits in all registers new to AA. These registers
  163.  include:
  164. BPLCON3,BPLCON4,CLXCON2,DIWHIGH,FMODE.
  165.  
  166. ECSENA bit (formerly ENBPLCN3) is used to disable those register bits in
  167. BPLCON3 that are never accessed by old copper lists, and in addition are
  168. required by old style copper lists to be in their default
  169. settings.Specifically ECSENA forces the following bits to their default low
  170. settings: BRDRBLNK,BRDNTRAN,ZDCLKEN,EXTBLKEN, and BRDRSPRT.
  171.  
  172. CLXCON2 is reset by a write to CLXCON, so that old game programs will be
  173. able to correctly detect collisions.
  174.  
  175. DIWHIGH is reset by writes to DIWSTRT or DIWSTOP. This is interlock is
  176. inhertied from ECS Denise.
  177.  
  178. Genlock:
  179. --------
  180. Lots of new genlock features were added to ECS DENISE and arecarried over
  181. to LISA. ZDBPEN in BPLCON2 allows any bitplane, selected by ZDBPSEL2,1,0,to
  182. be used as a transparency mask (ZD pin mirrors contents of selected
  183. bitplane). ZDCTEN disables the old COLOR00 is transparent mode, and allows
  184. the bit31 position of each color in the color table to control
  185. transparency.ZDCLKEN generates a 14MHz clock synchronized with the video
  186. data that can be used by video post-processors. Finally, BRDNTRAN in
  187. BPLCON3 generates an opaque border region which can be used to frame live
  188. video.
  189.  
  190. Color Lookup Table:
  191. -------------------
  192. The color table has grown from 32 13-bit registers to 256 25-bit registers.
  193. Several new register bits have been added to BPLCON3 to facilitate loading
  194. the table with only 32 register addresses. LOCT, selects either the 16 MSB
  195. or LSB for loading. Loading the MSB always loads the LSB as well for
  196. compatibility, so when 24 bit colors are desired load LSB after MSB.
  197. BANK2,1,0 of 8 32 address banks for loading as follows:
  198.  
  199.  BANK2 | BANK1 | BANK0 | COLOR ADDRESS RANGE
  200. --------------------------------------------
  201.    0   |   0   |   0   |  COLOR00 - COLOR1F 
  202.    0   |   0   |   1   |  COLOR20 - COLOR3F 
  203.    0   |   1   |   0   |  COLOR40 - COLOR5F 
  204.    0   |   1   |   1   |  COLOR60 - COLOR7F 
  205.    1   |   0   |   0   |  COLOR80 - COLOR9F 
  206.    1   |   0   |   1   |  COLORA0 - COLORBF 
  207.    1   |   1   |   0   |  COLORC0 - COLORDF 
  208.    1   |   1   |   1   |  COLORE0 - COLORFF 
  209.  
  210. RDRAM bit in BPLCON2 causes LISA to interpret all color table accesses as
  211. reads.
  212. Note: There is no longer any need to "scramble" SHRES color table entries. 
  213. This artifice is no longer required and pepole who bypass ECS graphics
  214. library calls to do their own 28MHz graphics are to be pointed at and
  215. publicly humiliated.
  216.  
  217. Collision
  218. ---------
  219. A new register CLXCON2 contains 4 new bits. ENBP7 and ENBP6 are the enable
  220. bits for bitplanes 7 and 8, respectively. Similarly, MVBP7 and MPBP8 are
  221. their match value bits. CLXDAT is unchanged.
  222.  
  223. Horizontal Comparators
  224. ----------------------
  225. All programmable comparators with the exception of VHPOSW have 35nSec
  226. resolution.: DIWHIGH,HBSTOP,SPRCTL,BPLCON1. BPLCON1 has additional
  227. high-order bits as well. Note that horizontal bit position representing
  228. 140nSec resolution has been changed to 3rd least significant bit,where
  229. before it used to be a field`s LSB, For example, bit 00 in BPLCON1 used to
  230. be named PF1H0 and now it`s called PF1H2.
  231.  
  232. Coercion of 15KHz to 31KHz:
  233. ---------------------------
  234. We have added new hardware features to LISA to aid in properly displaying
  235. 15KHz and 31KHz viewports together on the same 31KHz display. LISA can
  236. globally set sprite resolution to LORES,HIRES, or SHRES.
  237. LISA will ignore SH10 compare bits in SPRxPOS when scan-doubling, thereby
  238. allowing ALICE to use these bits individually set scan-doubling.
  239.  
  240. 3. LIST OF REGISTERS ORDERED BY ADDRESS
  241. ---------------------------------------
  242.  
  243. Symbols Used:
  244.  
  245. & = Register used by DMA channel only.
  246. % = Register used by DMA channel usually, processors sometimes.
  247. + = Address register pair. Low word uses DB1-DB15, High word DB0-DB4.
  248. ~ = Address not writable by the coprocessor unless COPCON bit 1 is set true
  249. h = new for HiRes chip set.
  250. p = new for IAA chip set.
  251. A = Agnus/Alice chip set.
  252. D = Denise/Lisa chip set.
  253. P = Paula chip.
  254. W = Write.
  255. R = Read.
  256. ER= Early read. This is a DMA transfer to RAM, from either the disk or from
  257.     the blitter. Ram timing requires data to be on the bus earlier than
  258.     microprocessor read cycles. These transfers are therefore initiated by
  259.     Agnus timing, rather than a read address on the register address bus
  260.     (RGA).
  261. S = Strobe (Write address with no register bits).
  262. PTL,PTH = 20 bit pointer that addresses DMA data. Must be reloaded by a
  263.     processor before use (Vertical blank for bit plane and sprite pointers.
  264.     and prior to starting the blitter for blitter pointers). (old chips -
  265.     18 bits).
  266. LCL,LCH = 20 bit location (starting address) of DMAdata. Used to
  267.     automatically restart pointers. such as the Coprocessor program counter
  268.     (during vertical blank), and the audio sample counter (whenever the 
  269.     audio lentgh count is finished), (Old chips - 18 bits).
  270. MOD = 15 bit Modulo. A number that is automatically added to the memory
  271.     address at the end of each line to generate the address for the
  272.     beginning of the next line. This allows the blitter (or the display
  273.     window) to operate on (or display) a window of data that is smaller
  274.     than the actual picture in memory. (memory map) Uses 15 bits, plus
  275.     sign extended.
  276.  
  277. END!
  278.